package com.smbms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.smbms.pojo.User;

public interface UserService {

    /**
     * 用户登录
     * @param userCode
     * @param userPassword
     * @return
     */
    public User login(String userCode, String userPassword) throws Exception;

    IPage<User> getUserList(String queryname, Integer queryUserRole, Integer currPageNo, int pageSize);
}
